<template>
	<view class="" >
		 子组件conunt 值：{{conunt}}
	</view>
</template>


<script setup>
//  父组件也可调用子组件定义的值，方法；
import {ref} from "vue";
	
	const conunt = ref(100);
	
	const updateConunt = () =>{
		conunt.value++
	}
	
	defineExpose({
		conunt,
		str: '111',
		updateConunt
	})
</script>


<style lang="scss" scoped>
	
</style>